import React, { Component } from 'react'
import RouterLink from './router/RouterLink'
import RouterView from './router/RouterView'
import routerConfig from "./router/routerConfig"
import  {BrowserRouter} from "react-router-dom"
import { Provider } from 'react-redux'
import store from './store/index'
export class App extends Component {
  render() {
  
    return (
      <Provider store={store}>
      <BrowserRouter>
   <div className='App'>
   <div className='left'> 
        <RouterLink routerConfig={routerConfig}></RouterLink>
   </div>
    <div className='right'>
          <RouterView routerConfig={routerConfig}></RouterView>
    </div>
     </div>

        
       </BrowserRouter>
       </Provider>
    )
  }
}

export default App